import {get, getNotParam, getPath, post} from '@/util/request'

export const sendMessageToUser = data => post('/message/sendMessageToUser', data);

export const getHistoryMessage = data => post('/message/getHistoryMessage', data);

export const haveReadMessage = data => getPath(`/message/haveReadMessage/${data}`);